<div class="control-group">
  <label for="static">Static or dynamic map?</label>
  <select name="static" id="static">
  	<option value="1" {if isset($static) && ($static === '1')}selected="selected"{/if}>Static</option>
  	<option value="0" {if isset($static) && ($static === '0')}selected="selected"{/if}>Dynamic</option>
  </select>
</div>

<div class="control-group">
  <label for="width">Width</label>
  <input id="width" name="width" type="text" placeholder="number in pixels" value="{$width|default:'400'}" />
</div>

<div class="control-group">
  <label for="height">height</label>
  <input id="height" name="height" type="text" placeholder="number in pixels" value="{$height|default:'400'}" />
</div>

<div class="control-group">
  <label for="lat">Latitude</label>
  <input id="lat" name="lat" type="text" placeholder="valid Latitude" value="{$lat|default:'0'}" />
</div>

<div class="control-group">
  <label for="lng">Longitude</label>
  <input id="lng" name="lng" type="text" placeholder="valid Longitude" value="{$lng|default:'0'}" />
</div>

<div class="control-group">
  <label for="zoom">Zoom</label>
  <input id="zoom" name="zoom" type="text" placeholder="number (1=world ; 20=street)" value="{$zoom|default:'15'}" />
</div>

<div class="control-group">
  <label for="maptype">MapType</label>
  <select name="maptype" id="maptype">
  	<option value="roadmap" {if isset($maptype) && ($maptype === 'roadmap')}selected="selected"{/if}>Roadmap</option>
  	<option value="satellite" {if isset($maptype) && ($maptype === 'satellite')}selected="selected"{/if}>Satellite</option>
  	<option value="hybrid" {if isset($maptype) && ($maptype === 'hybrid')}selected="selected"{/if}>Hybrid</option>
  	<option value="terrain" {if isset($maptype) && ($maptype === 'terrain')}selected="selected"{/if}>Terrain</option>
  </select>
</div>

<div class="control-group">
  <label for="free">Be Free! add your own attributes</label>
  <input id="free" name="free" type="text" placeholder="" value="{$free|default:''}" />
</div>
